import Vue from 'vue'

import Vuex from 'vuex'

import page from '../page/module'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    collapse: false //伸宿
  },

  modules:{
    page
  },
  mutations:{
    // 侧边栏折叠
    hadndleCollapse(state, data) {
      state.collapse = data;
    }
  }

})
